package ExtraDemo.demo04.MySemaphore;

public class MySemaphore {
    public static void main(String[] args) {
        MyRunnable myRunnable=new MyRunnable();
        for (int i = 0; i <= 50; i++) {
            new Thread(myRunnable).start();
        }
    }
}
